package com.lm.upms;

import com.lm.common.security.annotation.EnableScmFeignClients;
import com.lm.common.security.annotation.EnableScmResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 用户权限启动类
 *
 * @author lm
 * @date
 */
@EnableScmResourceServer
@EnableScmFeignClients
@ComponentScan(basePackages = {"com.lm", "com.lm.upms.api.feign"})
@SpringCloudApplication
public class ScmUpmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(ScmUpmsApplication.class, args);
    }

}
